package com.csii.activiti.server.core.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@ApiModel("流程审批人")
@AllArgsConstructor
@NoArgsConstructor
@Data
public class ActFlowApprover {
    @ApiModelProperty("审批任务ID")
    private String taskId;
    @ApiModelProperty("审批人username")
    private String approveUsername;
    @ApiModelProperty("审批任务开始时间")
    private Date taskStartTime;
    @ApiModelProperty("审批任务结束时间")
    private Date taskEndTime;
    @ApiModelProperty("审批耗时")
    private Long duration;
    @ApiModelProperty("审批意见")
    private String comment;
    @ApiModelProperty("是否审批")
    private boolean toApprove;

}
